﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Validations.ProjectValidation
{
    public class ReleaseValidation
    {
        public static bool ValidateReleaseByProject(DateTime dataInicioRelease, DateTime dataFimRelease, DateTime dataInicioProjeto, DateTime dataFimProjeto)
        {
            if (dataInicioRelease < dataInicioProjeto || dataFimRelease > dataFimProjeto)
                return false;
            else
                return true;
        }
    }
}
